package com.guodu.dao;

import java.util.List;

import com.guodu.entity.PurchaseProductionPlan;
import com.guodu.entity.PurchaseproductionStatus;
import com.guodu.entity.Units;
import com.guodu.vo.PurchaseProductionPlanQueryVo;
import com.guodu.vo.PurchaseProductionPlanVo;

public interface PurchaseProductionPlanDao {

	PurchaseProductionPlanVo findAllMoney(PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo, Units units);
	
	void save(PurchaseProductionPlan purchaseProductionPlan);
	
	void examin(PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo,
			Units units);

	long findSizeByVo(PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo, Units units);

	List<PurchaseProductionPlan> findByVo(PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo,
			Units units, int curPage, int pageSize);

	PurchaseProductionPlan findById(String purchaseId);

	void update(PurchaseProductionPlan purchaseProductionPlan);

	List<PurchaseproductionStatus> findStatus(String purchaseId);

	void changeStatus(List<PurchaseproductionStatus> entities);

	void examine(String ids, Long status);

	void delByIds(String[] delIds);

	List<PurchaseProductionPlan> findAllByVo(
			PurchaseProductionPlanQueryVo purchaseProductionPlanQueryVo, Units attribute);

}
